﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elderos.Highlight.Search;

namespace Elderos.Highlight
{
    public class FakeAmbiguityResolver : IAmbiguityResolver
    {
        public void Process(IEnumerable<Position> positions)
        {
            foreach (Position position in positions)
            {
                position.Winner = position.Entities.FirstOrDefault();
            }
        }

        public IAmbiguityResolver Clone()
        {
            return new FakeAmbiguityResolver();
        }
    }
}
